﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Collections;

namespace SomeCollections
{
    class Program
    {
        static void Main(string[] args)
        {
            DirectoryInfo di = new DirectoryInfo(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location));

            ArrayList list = new ArrayList();

            // тільки для прикладу!
            foreach (var d in di.GetFiles())
            {
                list.Add(d);
            }


            foreach(FileInfo f in list)
            {
                Console.WriteLine("File: {0}",f.FullName);
            }

        }
    }
}
